package org.brownflat.watergate.domain;

/**
 * <p>&copy Rupert Jones 2012</p>
 *
 * @author rup
 */
public abstract class AbstractBuilder<T> {
    private T entity;

    public AbstractBuilder(T entity) {
        this.entity = entity;
    }

    protected T getEntity() {
        return entity;
    }

    public T build() {
        return entity;
    }
}
